package com.file.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by chairal on 2017/7/21.
 */
@Component
@ConfigurationProperties(prefix="file")
public class ConfigHelper {

    /** 域名 */
    private String domain;

    /** 图片映射路径 */
    private String imgMapPath;

    /** 图片路径 */
    private String imgPrefixPath;

    /** ftp服务器ip */
    private String ftpServerIp;

    /** ftpServerPort */
    private Integer ftpServerPort;

    /** ftpServerUser */
    private String ftpServerUser;

    /** ftpServerPassword */
    private String ftpServerPassword;

    /** ftpImgPrefixPath */
    private String ftpImgPrefixPath;

    /** ftpImgMapPath */
    private String ftpImgMapPath;

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getImgMapPath() {
        return imgMapPath;
    }

    public void setImgMapPath(String imgMapPath) {
        this.imgMapPath = imgMapPath;
    }

    public String getImgPrefixPath() {
        return imgPrefixPath;
    }

    public void setImgPrefixPath(String imgPrefixPath) {
        this.imgPrefixPath = imgPrefixPath;
    }

    public String getFtpServerIp() {
        return ftpServerIp;
    }

    public void setFtpServerIp(String ftpServerIp) {
        this.ftpServerIp = ftpServerIp;
    }

    public Integer getFtpServerPort() {
        return ftpServerPort;
    }

    public void setFtpServerPort(Integer ftpServerPort) {
        this.ftpServerPort = ftpServerPort;
    }

    public String getFtpServerUser() {
        return ftpServerUser;
    }

    public void setFtpServerUser(String ftpServerUser) {
        this.ftpServerUser = ftpServerUser;
    }

    public String getFtpServerPassword() {
        return ftpServerPassword;
    }

    public void setFtpServerPassword(String ftpServerPassword) {
        this.ftpServerPassword = ftpServerPassword;
    }

    public String getFtpImgPrefixPath() {
        return ftpImgPrefixPath;
    }

    public void setFtpImgPrefixPath(String ftpImgPrefixPath) {
        this.ftpImgPrefixPath = ftpImgPrefixPath;
    }

    public String getFtpImgMapPath() {
        return ftpImgMapPath;
    }

    public void setFtpImgMapPath(String ftpImgMapPath) {
        this.ftpImgMapPath = ftpImgMapPath;
    }
}
